<form name="form1" method="get" action="index.php" target="_blank">
  <p>开始时间：
  <input type="hidden" name="c" value="auto_service">
  <input type="hidden" name="m" value="print_list">
    <input type="text" name="start_time" id="start_time" class="input_date_select txt-normal">
<script>
		Calendar.setup({
			inputField     :    "start_time",   // id of the input field
			ifFormat       :    "%Y-%m-%d",       // format of the input field
			showsTime      :    false,
			timeFormat     :    "24"
		});
		</script>
结束时间：
    <input type="text" name="end_time" id="end_time" class="input_date_select txt-normal">
<script>
		Calendar.setup({
			inputField     :    "end_time",   // id of the input field
			ifFormat       :    "%Y-%m-%d",       // format of the input field
			showsTime      :    false,
			timeFormat     :    "24"
		});
		</script>
服务类型：
    <select name="service">
    	<option value="0">选择</option>
		{%html_options options=$service_arr%}
		</select>
</p>
  <p>
    <input type="submit" name="Submit" value="打印">
</p>
</form>
<table class="show_list">
	<tr class="show_title">
				<td>服务时间</td>
				<td>服务类型</td>
				<td>收费金额</td>
				<td>罚款金额</td>
				<td>车牌号</td>
				<td>车主</td>
				<td>电话1</td>
				<td>电话2</td>
				<td>操作</td>
	</tr>
	{%foreach from=$arr item=arr_item%}
	<tr class="{%cycle values="show_line_1,show_line_2"%}">
				<td>{%$arr_item.add_time|date_format:"%Y-%m-%d"%}</td>
				<td>{%$service_arr[$arr_item.service_type]%}</td>
				<td>{%$arr_item.service_price%}</td>
				<td>{%$arr_item.Fine_price%}</td>
				<td>{%get_auto_info auto_id=$arr_item.auto_id%}</td>
				<td>{%get_auto_info auto_id=$arr_item.auto_id key=auto_guest_name%}</td>
				<td>{%get_auto_info auto_id=$arr_item.auto_id key=auto_tel1%}</td>
				<td>{%get_auto_info auto_id=$arr_item.auto_id key=auto_tel2%}</td>
				<td>
		<a href='index.php?c=auto_service&m=edit&is_show=1&sevice_id={%$arr_item.sevice_id%}'>查看</a>&nbsp;&nbsp;
		<a href='index.php?c=auto_service&m=edit&sevice_id={%$arr_item.sevice_id%}'>修改</a>&nbsp;&nbsp;
		<!--<a href='index.php?c=auto_service&m=del&sevice_id={%$arr_item.sevice_id%}'>删除</a>-->
		</td>
	</tr>
	{%/foreach%}
</table>
<div class="page_bar">
{%$page_footer%}
</div> 